<template>
  <div class="pc-collapse-demo">
    <pc-collapse :data="data">
      <template #default>
        内容
      </template>
    </pc-collapse>
  </div>
</template>

<script lang="ts" setup>
import {ref} from "vue";

const data = ref([
  {
    label: '标题1',
    openStatus: true
  },
  {
    label: '标题2',
  },
  {
    label: '标题3',
  }
])
</script>

<style scoped>
.pc-collapse-demo {
  width: 100%;
  height: 260px;
}
</style>
